#ifndef SLED_PRIVATE_H 
#define SLED_PRIVATE_H 

#ifdef __cplusplus
extern "C"{
#endif

/*----------------------------------include-----------------------------------*/
// #include "sled/sled_class/sled_public.h"
/*-----------------------------------macro------------------------------------*/
#define SLED_PRIVATE_MEMBER \
uint32_t port_io; \
uint32_t io_dir; \
slde_mode_t WorkMode; \
spinlock_t lock; \
void (*spin_lock)(void); \
void (*spin_unlock)(void); \
int pwm_handle; \
int breathe_timer_handle; \
uint16_t pwm_duty; \
uint16_t breathe_speed; \
int16_t breathe_index; \
uint16_t breathe_dir; \
void *private_param; \
enum gpio_function pwm_func_enum; \

/*----------------------------------typedef-----------------------------------*/

/*----------------------------------variable----------------------------------*/

/*-------------------------------------os-------------------------------------*/

/*----------------------------------function----------------------------------*/

/*------------------------------------test------------------------------------*/

#ifdef __cplusplus
}
#endif

#endif	/* SLED_PRIVATE_H */
